package com.gzx.spring.apis.client;

import com.gzx.risk.core.feign.request.ContractInfoReq;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "gzx-mini") // TODO 线上
//@FeignClient(name = "gzx-risk") // 测试本机模拟
public interface MiniApiFeign {

	/**
	 * 查询订单对应授权合同以及身份证
	 */
	@PostMapping("/api/order/ext/queryContractAndUserExt")
	String queryContractAndUserExt(@RequestBody ContractInfoReq requestStr);
}
